package com.itheima.dao;

import com.itheima.pojo.Member;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface MemberMapper {
    @Select("SELECT * FROM t_member where phoneNumber = #{telephone}")
    Member findBytelephone(@Param("telephone") String telephone);

    void add(Member member);
}
